package com.woniuxy.hrp.service;

import com.woniuxy.hrp.entity.Department;

import java.util.List;

/**
 * @program: hrph
 * @InterfaceName DepartService
 * @description:科室Service
 * @author: WY
 **/
public interface DepartService {

    //增加科室
    void add(Department department);


    //修改科室
    void update(Department department);

    //查询科室（根据id）
    Department findById(int id);


    //根据医院id查询所拥有的科室
    List<Department> findByHospitalId(int Hid);
}
